home *** CD-ROM | disk | FTP | other *** search
- Path: news.bridge.net!news
- From: David Byrden <100101.2547@compuserve.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Object with Interrupt Service Routine
- Date: 14 Jan 1996 05:02:05 GMT
- Organization: self-employed
- Message-ID: <4da2od$6v3@news.bridge.net>
- References: <4d6imm$okq@newsbf02.news.aol.com>
- NNTP-Posting-Host: ppp-mia2-95.bridge.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
-
- >> I have been struggling to create an object that handles hardware
- >> interrupt directly.
-
- C++ nonstatic member functions take an invisible parameter; the
- address of the object. Thus, even a function with no parameters
- will expect to have an address passed to it. So, for example,
- if your IS functions are void f(void) they will not be
- compatible with a member function even if it is also void mf(void)
-
- Can't give you any more advice since I can't understand what you mean
- by phrases like "call the object" or "handle hardware interrupt directly"
-
-
- David
-
-
-